import axios from '@/plugins/axios'

export function getAllMessgaes() {
    return axios({
        url: 'message/messages',
        method: 'GET',
    })
}

export function insertMessgae(content) {
    return axios({
        url: 'message/insert',
        method: 'POST',
        params: {
            content
        }
    })
}